package com.zhh.springcloud.model;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

import java.io.Serializable;

@Data  // lombok标注
@NoArgsConstructor  // lombok提供的无参构造器
@AllArgsConstructor  // lombok提供的有参构造器
@Accessors  //启用链式写法
public class Department implements Serializable {

    private int Did;  //primary key
    private String name;
    private String location;
}
